/*
 * Created on Nov 9, 2003
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.vectrics.hibernate;


import java.io.Serializable;

import org.hibernate.engine.SessionImplementor;
import org.hibernate.id.IdentifierGenerator;
import org.vectrics.common.util.GUID;

public class GuidSeqGen implements IdentifierGenerator {

	/**
	 * 
	 */
	public GuidSeqGen() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public Serializable generate(SessionImplementor session, Object o) {
		String guid = GUID.create();
		return(guid);
	}

}
